package net.lab1024.sa.admin.module.business.category.domain.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;


@Data
public class SynthesisRequest {
    //    @NotNull
    //    @Pattern(regexp = "^[A-Za-z0-9@+\-\\[\\]()/\\\\=#$%]*$")
    @JsonProperty("pId")
    private String pId;

    private String smiles;

    private String databaseName;

    private String modelName;
    // Getters/setters

    public void setpid(String pId) { // 全小写 setpid
        System.out.println("setpid() called with: " + pId);
        this.pId = pId;
    }

    public SynthesisRequest() {
    }

    public SynthesisRequest(String smiles, String databaseName, String modelName) {
        this.smiles = smiles;
        this.databaseName = databaseName;
        this.modelName = modelName;
    }

    public SynthesisRequest(String pId, String smiles, String databaseName, String modelName) {
        this.pId = pId;
        this.smiles = smiles;
        this.databaseName = databaseName;
        this.modelName = modelName;
    }

}